﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Autenticacao
{
    public partial class frm_gesclinica : Form
    {
        public Utilizador util2;

        public frm_gesclinica(Utilizador a)
        {
            this.util2 = a;
            InitializeComponent();
        }

        private void cmdgdc_agenda_Click(object sender, EventArgs e)
        {
            frm_agenda frm1 = new frm_agenda(util2);
            this.Close();
            frm1.Show();
        }

        private void cmdgdc_clientes_Click(object sender, EventArgs e)
        {
            frm_gescliente frm2 = new frm_gescliente(util2);
            this.Close();
            frm2.Show();
        }

        private void cmdgdc_animais_Click(object sender, EventArgs e)
        {
            frm_ganimais frm3 = new frm_ganimais(util2);
            this.Close();
            frm3.Show();
        }

        private void cmdgdc_exploracao_Click(object sender, EventArgs e)
        {
            frm_exploracao frm4 = new frm_exploracao(util2);
            this.Close();
            frm4.Show();
        }

        private void cmdgdc_med_Click(object sender, EventArgs e)
        {
            frm_gesmedicamentos frm5 = new frm_gesmedicamentos(util2);
            this.Close();
            frm5.Show();
        }

        private void cmdgdc_sair_Click(object sender, EventArgs e)
        {
            frm_autenticacao frm = new frm_autenticacao();
            this.Close();
            frm.Show();
        }
    }
}
